package com.mall.common.exceptions;

import com.mall.common.responses.ServerResponseEntity;
import com.mall.common.responses.codeEnum;
import lombok.Getter;

@Getter
public class ShopException extends RuntimeException{
    // http 状态码
    private final int code;

    /*
    *    TODO 未完成
    * */
    public ShopException(String msg){
        super(msg);
        this.code = 0;
    }
    /*
    * 未授权的异常处理
    * */

}
